// app global css in SCSS form

:root {
  --my-page-bg: #ffffff;
}
.body--dark {
  --my-page-bg: #1d1d1d;
}

// 固定表格第一列
.sticky-first-column-table {
  thead tr:last-child th:last-child,
  td:last-child {
    background-color: var(--my-page-bg);
  }
  th:first-child,
  td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
  }
}

// 固定表格最后一列
.sticky-last-column-table {
  thead tr:last-child th:last-child,
  td:last-child {
    background-color: var(--my-page-bg);
  }
  th:last-child,
  td:last-child {
    position: sticky;
    right: 0;
    z-index: 1;
  }
}
